﻿using NHibernate.Cfg;

namespace FT.Architecture.NHibernate.Factories
{
    public class XmlMappingNHibernateConfigurator : INHibernateConfigurator
    {
        /// <summary>
        /// Builds a new NHibernate Session Factory
        /// </summary>
        /// <returns></returns>
        public Configuration Configure()
        {
            var cfg = new Configuration();
            return cfg.Configure();
        }
    }
}
